<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/paied.css">
    <link rel="stylesheet" href="./css/bootstrap.min.css">
</head>

<body>
    <!-- 头部 -->
    <header class="container">
        <div class="row zbb_head">
            <a href="./regiest.html" class="col-md-2">亲，请登录 免费注册</a>
            <ul class="list-inline col-md-10 text-right">
                <li><a href="./index.html">商城首页</a></li>
                <li><a href="javascript:;"><span class="iconfont">&#xe645;</span>个人中心</a></li>
                <li><a href="javascript:;"><span class="iconfont">&#xe73c;</span>购物车0</a></li>
                <li><a href="javascript:;"><span class="iconfont">&#xe663;</span>收藏夹</a></li>
            </ul>
        </div>
    </header>
    <!-- 搜索 -->
    <nav class="zbb_nav">
        <img src="./images/logobig.png" style="margin-left: 130px;">
        <form action="">
            <input type="search" placeholder="搜索">
            <button>搜索</button>
        </form>
    </nav>
    <!-- main -->
    <div class="main">
        <div class="m1">
            <img src="./images/dui.png">您已成功付款
        </div>
        <div class="m2">
            <h3>付款金额 ￥<b style="font-size: 16px;color:#D51318;" class="price">78.00</b></h3>
            <div class="m2_1">
                <p>收货人：艾迪</p>
                <p>联系电话：15871145629</p>
                <p>收货地址：湖北省 武汉市 武昌区 东湖路75号众环大厦</p>
            </div>
            <p>请认真核对您的收货信息，如有错误请联系客服</p>
            <p>您可以 查看 &nbsp;&nbsp;<a href="./pay.html" style="color:rgb(211, 37, 37) ;">已买到的宝贝&nbsp;&nbsp;</a>
                查看&nbsp;&nbsp; <a href="./pay.html" style="color: rgb(211, 37, 37);">交易详情</a></p>
        </div>
    </div>
    <!-- 底部 -->
    <div class="footer">
        <p class="ft1">
            <a href="javascript:;">恒望科技</a>
            <a href="./index.html">商城首页</a>
            <a href="javascript:;">支付宝</a>
            <a href="javascript:;">物流</a>
        </p>
        <hr style="margin-top: 0px;">
        <p><a href="javascript:;">关于恒望 </a><a href="javascript:;"> 合作伙伴</a><a href="javascript:;"> 联系我们</a><a
                href="javascript:;"> 网站地图</a> ◎ 2015-2025
            Hengwang.com版权所有.更多模板模板在线厚朴网络淘宝店-Collect
            from模板在线厚朴网络淘宝店</p>
    </div>
</body>

</html>
<script>
    //获取cookie代码
    var getCookie = function (name) {
        var arr;
        var reg = /^[0-9]{0,7}$/;
        if (arr = document.cookie.split(';')) {
            console.log(arr)
            var ww = Number(arr[3]);
            console.log(reg.test(ww))
            console.log(ww)
            if (reg.test(ww)) {
                return arr[3];
            } else {
                return arr[4];
            }
        }
        else {
            return null;
        }
    };
    //点击获取按钮之后调用的函数
    function getcookie() {
        var price = document.querySelector('.price');
        price.innerText = getCookie("userName")
    } getcookie();
</script>